<!DOCTYPE html>
<html lang="cn" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>留言板</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/index.css}" />
    <style>
        body{
            padding: 0;
            margin: 0;
            background-color: #282C34;
            color: #CCCCCC;
            text-align: center;
        }
        h2{
            padding: 1% 0%;
            user-select:none; -webkit-user-select:none;/*取消复制功能*/
        }
        #main{
            margin: 10% 5% 0% 5%;
            background-color: #21252B;
        }
        #main>div{
            text-align: left;
            padding: 0.5% 2%;
        }


        hr{
            margin: 20px 5%;
        }
    </style>
</head>
<body>
<div id="main">
    <h2>留言板</h2>
    <hr>
    数据：<div th:each="d:${data}" style="text-align: center">[[${d}]]</div>
    <hr>
</div>

</body>
</html>